package com.xinruke.hostels.system.manage.interfaces.dto;

import com.xinruke.hostels.common.vo.query.BaseQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jinzhi
 */
@ApiModel("楼层列表DTO")
@Data
public class FloorsQueryDTO extends BaseQueryVO {

    /**
     * 楼栋ID
     */
    @ApiModelProperty(value = "楼栋ID", required = true)
    @NotNull(message = "楼栋id不能为空")
    private Integer loudongId;
}
